LtU Forum, Site Discussion

Anyone know what's going on with scsh?

Several tries to join the mailing list seemingly failed (no replies yea or nay to subscription requests, but a test post never showed up in the archives - but some spam did, after my joins & test posts : ( .

And the entire site has now been unreachable for at least 2 days.

Luke?

Luke are you reading this? I hope all is well, since emails to you bounce...

Static Typing Where Possible, Dynamic Typing When Needed

Instead of hammering on the differences between
dynamically and statically typed languages, we should
instead strive for a peaceful integration of static and dynamic
aspect in the same language. Static typing where possible, dynamic
typing when needed!

Static Typing Where Possible, Dynamic Typing When Needed pdf

Data is code

Hello everybody

Does anybody know about other languages for which data is code and vice versa than just Lisp (and its dialects) and Rebol? Are there any which support or, even better, encourage concurrency? And last but not least, is 'metamorphic' the proper term to refer to the attribute described above?

Thank you very much in advance

CTM

I have been following LtU for sometime now and finally decided to start with CTM after reading some great reviews. I am stuck with the mozart system. I am using FC3. Was anyone able to run the examples in the book successfully in mozart?

Thanks

Dynamic Languages Journal?

A few months ago, I received some mail from Dr. Dobb's Journal informing me that I qualified for a free subscription. Unlike some of the other free rags out there, Dr. Dobb's seemed genuinely useful, so I accepted. The first issue I received was Java only. The issue I am looking at now covers Java, C, C++, C# and .NET. So for casual free reading, it's OK, but it really doesn't have much impact on what I do. Even though I know Java and C, I really don't care about them.

Even though Dr. Dobb's is not narrow (it's even had articles on Prolog), it's largely useless to me due to its understandably heavy focus on languages with "market share". Despite that, there are times when it has fantastic articles that really pique my curiosity. I just want it to be more consistently relevant to me. What I want is a magazine like Dr. Dobb's that focuses primarily in dynamic programming languages.

Imagine a "Dynamic Languages Journal" which focuses on Perl, Python, PHP, Javascript, Ruby, etc. It has an "Exotic (to non-LtU readers) Languages" corner which has introductory articles on Prolog, Squeek, Haskell and similar beasts. Exciting new developments like Open JSAN can be covered and has columns covering the philosophical discussions that some love and others hate. That's what I would subscribe to in a heartbeat. Further, by having a professionally produced magazine like that, it would even further drive the "respectability" of the powerful tools that we appreciate even if outsiders don't.

Note: this was originally posted to my Perl journal and some folks seemed interested. In fact, the editor and publisher of the Perl Review has stated he wants to start such a magazine, but he needs editors who have the subject matter expertise. I'm sure a few folks around here would be qualified.

The New C Standard

The New C Standard is a line-by-line commentary on C99. Check out the free 8M byte pdf.

(via PLNews)

XSL and DSL code refactoring

I've had lately a lot of fun and success with refactoring our DSL using XSL.

While I could have coded the refactoring in our main language (Delphi), I've tried to use a language dedicated to XML transformations and with pattern matching capabilities.

In order to do so, I've had to stream out the AST of our DSL files into XML files.
Then I've written a small IDE to select the DSL file and the XSL transformation to apply on it.
I've several tabs to display the different steps of the transformations, disable some steps, select the command line XSL engine, ...

When the transformation has been applied, the resulting AST is reloaded and the corresponding DSL code is generated.
I can then compare the source and the result to see if the transformation has changed the source file.

It's an incremental process, you can watch the corresponding XML for the DSL file being processed, compare it to the refactored one.
You then make some changes to the XSL files and restart the transformation until the resulting AST fits your needs.

Have you also had some success in this domain using XSL ?

Some references :
XSL : http://www.w3.org/TR/xslt
Java ML : java modelisation using XML

Ook?

I guess I am spamming, sorry for that, but this is too funny to be left out

Ook!
is a programming language designed for orang-utans.

See some other esoteric languages here.

Martin Fowler on Language Workbenches and DSLs

I thought this would be interesting, if only because of the author: Martin Fowler, of UML and XP fame, on

Language Workbenches: The Killer-App for Domain Specific Languages?

and

Generating Code for DSLs

Never really took the guy to be a language guru. His books are Ok though.

[fixed second link]

XML feed